package com.luo.mapper;

import com.luo.pojo.Driver;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DriverMapper {
    List<Driver> selectDriverList(@Param("username") String username,
                                  @Param("phone") String phone,
                                  @Param("driverCard") String driverCard,
                                  @Param("driverType") String driverType,
                                  @Param("index") int index,
                                  @Param("limit") int limit);

    void delete(Integer id);

    void insert(Driver driver);

    void update(Driver driver);


}
